package cn.jxufe.dao;

import java.util.List;

import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import cn.jxufe.entity.CropsGrow;

public interface CropsGrowDAO extends JpaRepository<CropsGrow, Long>{

	CropsGrow findBySeedId(int seedId);
	
	List<CropsGrow> findBySeedId(int seedId, Sort sort);
	
	List<CropsGrow> findByStageImage(String stageImage);

}
